
import {lazy} from 'react'
import {Outlet,Navigate } from 'react-router-dom'
const Jiaowu = lazy(()=>import('./jiaowu'))
const Banji = lazy(()=>import('./banji'))
const Xueke = lazy(()=>import('./xueke'))

export default [
    {
        path:"/home/mine/jiaowu",
        element:<Jiaowu></Jiaowu>,
        children:[
            {
                path:"/home/mine/jiaowu",
                element:<Navigate replace to='/home/mine/jiaowu/banji'></Navigate>
            }, 
            {
                path:"/home/mine/jiaowu/banji",
                element:<Banji></Banji>
            },
            {
                path:"/home/mine/jiaowu/xueke",
                element:<Xueke></Xueke>
            },
        ]
    }
]